import requests
import json
import re
import time
import traceback
from data5u_dynamic import get_proxyip
def get_upc(itemid):
    try:
        cookies = {
        'userSegment': '40-percent',
        'WM_SEC.AUTH_TOKEN': 'MTAyOTYyMDE4z7NeczN3OHYci9NyR9hsf2wncgzO2yDoRa71j9BMZtBTY7CrtBNTeJ82kMlzdsxIuI9cALgQOxAKh6Q5IaSBmjlsVS7Sp6cEBVZOZps8KPwHNz8VKeBnkYzjxAyV%2FAQAj8OFN4dileb20bpDLeCIlSFd%2FHsc7bnSe4%2BTLU2zbj2jBfhPfnjWPC0bf44%2BJqoR%2Fz153owF1bW0uFmzCVnOm60zOyVe5O3N8cHt%2F%2BJ0G66WRXS%2FVM7dhoO5fDBksK28pGd2w9VMvEOMsmi01MtA%2F%2B3%2BUrCYfDaYliuXSs21LmUpa1eIn%2Fi%2B7sEWWPQta0pemB9YZyXjC1SHLXitVuD7rUkQ6afgtMY6UUD71jr2TVkDB8%2BsM1swFHwp56JFH0qi2HWpwkdv%2F%2FB4GwJfdfdZRiCFU7YNy%2B%2B7Og%2FK1CpgYd8%3D',
        'auth': 'MTAyOTYyMDE4z7NeczN3OHYci9NyR9hsf2wncgzO2yDoRa71j9BMZtBTY7CrtBNTeJ82kMlzdsxIuI9cALgQOxAKh6Q5IaSBmjlsVS7Sp6cEBVZOZps8KPwHNz8VKeBnkYzjxAyV%2FAQAj8OFN4dileb20bpDLeCIlSFd%2FHsc7bnSe4%2BTLU2zbj2jBfhPfnjWPC0bf44%2BJqoR%2Fz153owF1bW0uFmzCVnOm60zOyVe5O3N8cHt%2F%2BJ0G66WRXS%2FVM7dhoO5fDBksK28pGd2w9VMvEOMsmi01MtA%2F%2B3%2BUrCYfDaYliuXSs21LmUpa1eIn%2Fi%2B7sEWWPQta0pemB9YZyXjC1SHLXitVuD7rUkQ6afgtMY6UUD71jr2TVkDB8%2BsM1swFHwp56JFH0qi2HWpwkdv%2F%2FB4GwJfdfdZRiCFU7YNy%2B%2B7Og%2FK1CpgYd8%3D',
        'DYN_USER_ID': '15c86b35-bc98-4a0f-933f-d01fccb2f7ef',
        'ACID': '15c86b35-bc98-4a0f-933f-d01fccb2f7ef',
        'hasLocData': '1',
        'vtc': 'Sj1BTj6v9BXuKfCFXgrMr8',
        'walmart.nearestPostalCode': 'L5V2N6',
        'walmart.nearestLatLng': '"43.60822,-79.69387"',
        'TBV': '7',
        '_pxvid': '4fc53c3e-d4bb-11ef-a5c0-9b65f56a57bd',
        'cartId': '505b0550-d4bb-11ef-b6f4-8938ed7f4013',
        'locDataV3': 'eyJwaWNrdXBTdG9yZSI6eyJhZGRyZXNzTGluZU9uZSI6IjgwMCBNYXRoZXNvbiBCbHZkIFciLCJjaXR5IjoiTWlzc2lzc2F1Z2EiLCJzdGF0ZU9yUHJvdmluY2VDb2RlIjoiT04iLCJjb3VudHJ5Q29kZSI6IkNBIiwicG9zdGFsQ29kZSI6Ikw1ViAyTjYiLCJzdG9yZUlkIjoiMTA2MSIsImRpc3BsYXlOYW1lIjoiSEVBUlRMQU5ELCBNSVNTSVNTQVVHQSxPTiIsImdlb1BvaW50Ijp7ImxhdGl0dWRlIjo0My42MDY5ODEsImxvbmdpdHVkZSI6LTc5LjY5MjU0Nn0sImFjY2Vzc1BvaW50SWQiOiJhZTg5Y2E1MS02YjU5LTRlYTctODgxZS01YTMyNzgwZDAwZWIiLCJmdWxmaWxsbWVudFN0b3JlSWQiOiIxMDYxIiwicHJpY2luZ1N0b3JlSWQiOiIxMDYxIiwiZnVsZmlsbG1lbnRPcHRpb24iOiJQSUNLVVAiLCJmdWxmaWxsbWVudFR5cGUiOiJJTlNUT1JFX1BJQ0tVUCJ9LCJzaGlwcGluZyI6eyJwb3N0YWxDb2RlIjoiTDVWIDJONiIsImNpdHkiOiJNaXNzaXNzYXVnYSIsInN0YXRlT3JQcm92aW5jZUNvZGUiOiJPTiIsImNvdW50cnlDb2RlIjoiQ0EiLCJsYXRpdHVkZSI6NDMuNjA2OTgxLCJsb25naXR1ZGUiOi03OS42OTI1NDYsImlzR2lmdEFkZHJlc3MiOmZhbHNlfSwiaW50ZW50IjoiUElDS1VQIiwiaXNFeHBsaWNpdEludGVudCI6ZmFsc2UsImRlbGl2ZXJ5U3RvcmUiOnsiYWNjZXNzUG9pbnRJZCI6IjNlNDk4ZmQxLTZmNTItNGNhYi04YmY5LTRkOTRmZTRjMjgwYyIsImFkZHJlc3NMaW5lT25lIjoiODAwIE1hdGhlc29uIEJsdmQuIFdlc3QiLCJjaXR5IjoiTWlzc2lzc2F1Z2EiLCJzdGF0ZU9yUHJvdmluY2VDb2RlIjoiT04iLCJjb3VudHJ5Q29kZSI6IkNBIiwicG9zdGFsQ29kZSI6Ikw1ViAyTjYiLCJzdG9yZUlkIjoiMTA2MSIsImZ1bGZpbGxtZW50U3RvcmVJZCI6IjEwNjEiLCJwcmljaW5nU3RvcmVJZCI6MTA2MSwiZGlzcGxheU5hbWUiOiJIZWFydGxhbmQgU3VwZXJjZW50cmUgSG9tZSBEZWxpdmVyeSAtIFNEIiwidGltZXpvbmUiOiJVUy9FYXN0ZXJuIn0sInZhbGlkYXRlS2V5IjoicHJvZDp2MjoxNWM4NmIzNS1iYzk4LTRhMGYtOTMzZi1kMDFmY2NiMmY3ZWYifQ%3D%3D',
        '_ga': 'GA1.1.1209673876.1737108645',
        'QuantumMetricUserID': 'bef3a9c9a4db78692f837ae10a59e9be',
        'wmt.c': '0',
        'adblocked': 'false',
        'criteo_thirdpartyuserid': 'xYtcNDlfuXKriZ_10vumD01SI_ZYgMvy',
        'uxcon': 'enforce=false&p13n=true&ads=true&createdAt=1738469822307&modifiedAt=1738552514000',
        'unifiedCart': 'true',
        'wm_route_based_language': 'en-CA',
        'userAppVersion': 'main-1.111.6-fbbdfce-0203T2358',
        'ak-ca-origin-route': 'legacy',
        'ENV': 'ak-eus-t1-prod',
        'bstc': 'S2lhALicKLc_SBQN29kfKQ',
        'xpa': 'B-Uyl|CJYdv|ULkCd|_vLR3|anRfe|qynmF',
        'exp-ck': 'B-Uyl2CJYdv1ULkCd1anRfe1qynmF1',
        'ak_bmsc': '4E89F5BBAD0507CFB3E6EB5100E74A20~000000000000000000000000000000~YAAQinItF/DoF7yUAQAA2Qc20BqnRxwttAhVRBuSNQtLFwXpFQ1s5II7UrUkDZQC+F3j2YLKmKI1dE45w1X+QEMzb/7NbOo8ExBFLk6rS5qjY1l++rIHx6r04QV+vRF+Sh7ICC1TQdKpfTQud62yyfNAbHrGffyInrPYCt+ai/fIHWDFFJeeLWeOS9dI5OQazytmlpGYFmyGJoExu1RKg8UJ0oTMCcxL5CMI30iPC89MNZ1+L4LKuW+St+xC+vERlAUesvmCxXN+a9l2hVStSrrxtbUIcthLXx2Hc/e/BQBOrc0Xk1LbO1suhExPoaCSC9mL48HbKzchvoJ7jPmNyo/udsKFHP94hv94aF8TzLPsj9pzbOKYWtnJh99vhrZKWlRP33eP9/IwDw==',
        'pxcts': '52f1e350-e2d7-11ef-8170-f45a8658d033',
        '_astc': '4b0251570f0d0ca607e0adc638c9e5ef',
        'QuantumMetricSessionID': '6c1d71be9a2ff4ceba0ddf401b3fcf30',
        'dimensionData': '929',
        'enableHTTPS': '1',
        'ipSessionTrafficType': 'External',
        '_xrps': 'false',
        '_gcl_au': '1.1.1150586834.1737108645.241837964.1738662083.1738663482',
        'xpm': '1%2B1738663887%2BSj1BTj6v9BXuKfCFXgrMr8~%2B0',
        'WM.USER_STATE': 'GUEST%7CGuest',
        'type': 'GUEST%7CGuest',
        '_px3': '4d48399040c5b0ad2827fcb00da1eb929854e255f8183b88c75c0673cd001a1f:gK1DDzwn1tj6lIoq25vM2jl84QLJrOtgddVrOy0pvt3b1cd0o7n6d5N8jXLoxNGG4/iy3aAA1F+hr9cO7JAa9g==:1000:2jOqS22+mrE2X1UKH7lN/D3fTVViQ/kWqkXjXxtlnB25wh4WbuZOOqPk2vA/iKez3GXrMHASXSWNl2vAnbYlEz77SuqQcIob35opfT8RgUXsW8iHtnrJedIDEpFnA8CHBoS5uR28cE+08QBbGt42cYhX85u6G+ZOijbp0YuP4gBb8VjQKpxbwXlFZJuUWn7P0vS1QrzgsmQ9VLCO/7vRRBRDaGRWKA1uBoHTWlhny+E=',
        '_ga_D2P3FM55BM': 'GS1.1.1738659997.10.1.1738663905.42.0.814067150',
        '_pxde': '95e23132a0c3d41238450f71dda41186f7436a4057a46bf6c1c9c4061f9d86d9:eyJ0aW1lc3RhbXAiOjE3Mzg2NjM5MDUxNjN9',
        'seqnum': '52',
        'TS010110a1': '015aee3de270bd27b58aeaf8e19a9d9cb3e05c8b1c5450b85ab78cba7b20206d080aa036272aed572013298e7172dfe859b3552638',
        'TS0180da25': '015aee3de270bd27b58aeaf8e19a9d9cb3e05c8b1c5450b85ab78cba7b20206d080aa036272aed572013298e7172dfe859b3552638',
        'TS01ea8d4c': '015aee3de270bd27b58aeaf8e19a9d9cb3e05c8b1c5450b85ab78cba7b20206d080aa036272aed572013298e7172dfe859b3552638',
        'TSe62c5f0d027': '0832e887dfab200092006a1f61da4ad10813ddecbad40829df72c78b046d1e303a8558a3e00543d20827a359961130008767c87277adff806479aac33bddfc663190f306479e9feb763737ec348ebfcdad27f3414f8b20d0a5c776d95ca32b6c',
        'bm_sv': 'B5154DB5571C2C51E1A848B9357E337D~YAAQT/TVF7gLKsuUAQAA9sxx0BqMEeJxAOKBuLEbs2RllSlN9v1WsiFpwotLt0aE0yH9uBuV/yiIWcM83cTJVdH4WZDfhNL/pv+3oKfveLWrNH68Lg+CBqobF4toNlH162TGmbQXOFL5316P333xl9eoUo7YxO4wfxEvkFV4pM2Ykg2rLeJX1tASHdjFNq6rf/ApAA4BJUv7r32ioxgY2BR5mLLKooj0QHx/h8iYRb6Mk5muGx9T1AT4VEfUDCmz7A==~1',
        }

        headers = {
            'accept': 'application/json',
            'accept-language': 'en-CA',
            'baggage': 'trafficType=customer,deviceType=desktop,renderScope=CSR,webRequestSource=Browser,pageName=itemPage,isomorphicSessionId=iBV5s-8Lhj0jG8Wcaib_E,renderViewId=f4daa4cf-5e62-4847-86ca-d528abe7c3dd',
            'calltype': 'CLIENT',
            'content-type': 'application/json',
            'device_profile_ref_id': '0d3zuydswbwulkzx4q6lqpxtnba0eskga7sw',
            'downlink': '1.4',
            'dpr': '1',
            'ip-referer': f'https://www.walmart.ca/en/search?q={itemid}',
            'ip-session-traffic-type': '',
            'is-variant-fetch': 'false',
            'origin': 'https://www.walmart.ca',
            'priority': 'u=1, i',
            'referer': f'https://www.walmart.ca/en/ip/Lindt-LINDOR-Neapolitan-Truffles-Bag-150g/{itemid}?from=/search',
            'sec-ch-ua': '"Not A(Brand";v="8", "Chromium";v="132", "Google Chrome";v="132"',
            'sec-ch-ua-mobile': '?0',
            'sec-ch-ua-platform': '"Windows"',
            'sec-fetch-dest': 'empty',
            'sec-fetch-mode': 'cors',
            'sec-fetch-site': 'same-origin',
            'traceparent': '00-1820f99c918fbf5bfcde6b1fadf0ab08-d91c56ea884df542-00',
            'traffic-type': 'Internal',
            'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36',
            'wm_mp': 'true',
            'wm_page_url': f'https://www.walmart.ca/en/ip/Lindt-LINDOR-Neapolitan-Truffles-Bag-150g/{itemid}?from=/search',
            'wm_qos.correlation_id': 'hetkDZmBRS8WI4N1H1wjfDu5XoADVvhkWH-y',
            'x-apollo-operation-name': 'ItemById',
            'x-enable-server-timing': '1',
            'x-latency-trace': '1',
            'x-o-bu': 'WALMART-CA',
            'x-o-ccm': 'server',
            'x-o-correlation-id': 'hetkDZmBRS8WI4N1H1wjfDu5XoADVvhkWH-y',
            'x-o-gql-query': 'query ItemById',
            'x-o-item-id': f'{itemid}',
            'x-o-mart': 'B2C',
            'x-o-platform': 'rweb',
            'x-o-platform-version': 'main-1.111.6-fbbdfce-0203T2358',
            'x-o-segment': 'oaoh',
        }

        json_data = {
            'query': 'query ItemById( $iId:String! $oId:String $rgnId:String $vFId:String $pAdd:PostalAddress $sFId:[StoreFrontId]$p13N:P13NRequest $p13nCls:JSON $layout:[String]$tempo:JSON $pageType:String! $tenant:String! $vTOP:JSON $sSId:Int $cSId:String $fBB:Boolean! $fBBAd:Boolean! $eLLBBAds:Boolean! $fGalAd:Boolean! $fMq:Boolean! $fSL:Boolean! $fSCar:Boolean! $fDac:Boolean! $spVid:Boolean! $spSBA:Boolean! $fFit:Boolean! $fIdml:Boolean! $fRev:Boolean! $fulInt:String $fSeo:Boolean! $fP13:Boolean! $fAff:Boolean! $eItIb:Boolean! $fIlc:Boolean! $sVC:Boolean! $sV:Boolean! $fSId:Boolean! $eSb:Boolean! $eCc:Boolean! $eSsm:Boolean! $enableRelatedSearch:Boolean! $enableDetailedBeacon:Boolean! $fMrkDscrp:Boolean! $enableMultiSave:Boolean = false $enableBnplMessage:Boolean = false $enableClickTrackingURL:Boolean = false $enableSizePredictor:Boolean! = false $sizePredictorInput:SizePredictorInput $filters:[FilterIntents]$isSubscriptionFrequencyListEnabled:Boolean = false $enableWplusFulfillmentModalOnItemPage:Boolean = false $enableRxDrugScheduleModal:Boolean = false $isGEPEnable:Boolean = false $enableUpstreamErrorCode:Boolean = false $filterCriteria:UGCFilterCriteria $fQuesAns:Boolean = false $enablePromoData:Boolean = false $enableAdsPromoData:Boolean = false $eA2S:Boolean = false $attributesCacheKey:String $fRem:Boolean = false $enablePromotionMessages:Boolean = false $enableAOSModuleAttribute:Boolean = false $enableSignInToSeePrice:Boolean = false $enableItemLimits:Boolean = false $conditionCodes:[Int]$conditionGroupCode:Int $selectedOfferId:String $enableChannelLevelPricing:Boolean = false ){contentLayout( channel:"WWW" pageType:$pageType tenant:$tenant version:"v1" ){...ContentLayoutFragment}seoItemMetaData(id:$iId pageCacheKey:$attributesCacheKey){noIndex brandCanonical brand breadCrumbs{name url}isVariantSchemaEnabled metaTitle metaDescription canonicalURL cacheTTLInSeconds}product( catalogSellerId:$cSId itemId:$iId offerId:$oId postalAddress:$pAdd storeFrontIds:$sFId selected:true semStoreId:$sSId p13N:$p13N variantFieldId:$vFId fulfillmentIntent:$fulInt regionId:$rgnId filters:$filters conditionCodes:$conditionCodes conditionGroupCode:$conditionGroupCode selectedOfferId:$selectedOfferId ){...FullProductFragment}idml(itemId:$iId html:true) @include(if:$fIdml){...IDMLFragment...MarketingDescriptionFragment @include(if:$fMrkDscrp)}reviews( itemId:$iId filterCriteria:$filterCriteria conditionGroupCode:$conditionGroupCode ) @include(if:$fRev){...FullReviewsFragment}questions(itemId:$iId limit:2) @include(if:$fQuesAns){...FullQuestionAnswerFragment}sizePredictor(input:$sizePredictorInput) @include(if:$enableSizePredictor){trueToSize recommendedSize prediction{message url}profile{message url}}}fragment ContentLayoutFragment on ContentLayout{cov modules(p13n:$p13nCls tempo:$tempo virtualTryOnParams:$vTOP){configs{__typename...on EnricherModuleConfigsV1 @include(if:$fP13){zoneV1}...on TempoWM_GLASSWWWCustomHtmlConfigs{markup}...on TempoWM_GLASSWWWFinancingOptionsPlaceholderConfigs{financingOptions{financingType name subName description imageUrl{alt src}learnMore{linkText clickThrough{type value}}terms{term{linkText clickThrough{type value}}}applyNow{linkText clickThrough{type value}}}}...on TempoWM_GLASSWWWItemFinancingConfigs{financingOptions{financingTypePaymentsPer financingTypeSetupFeesApply financingTypeSubName salesFinancingName imageUrl{src}applyNow{linkText title clickThrough{value type}}learnMore{linkText title clickThrough{value type}}generic{linkText title clickThrough{value type}}}}...on TempoWM_GLASSWWWEmailSignUpWidgetConfigs{_rawConfigs}...on TempoWM_GLASSWWWLowStockBadgeConfigs{_rawConfigs}...EbookLinksModule...CompleteTheLookModule...on TempoWM_GLASSWWWBroadbandLabelsConfigs{htmlContent}...on TempoWM_GLASSWWWBlitzConfigs{inStoreCurrentDisplayTime{dayDate time}onlineCurrentDisplayTime{dayDate time}onlineBlitzRefreshText{text textColor textFontSize textFontWeight}onlineBlitzMessageBackgroundColor inStoreBlitzMessageBackgroundColor onlineBlitzMessageIcon{src alt}inStoreBlitzMessageIcon{src alt}onlineBlitzMessageEndTimeUTC inStoreBlitzMessageEndTimeUTC onlineBlitzMessageText{text textColor textFontSize textFontWeight}inStoreBlitzMessageText{text textColor textFontSize textFontWeight}onlineBlitzMessageText1 onlineBlitzMessageText2 onlineBlitzMessageText3 inStoreBlitzMessageText1 inStoreBlitzMessageText2 inStoreBlitzMessageText3 pulses{pulseMessageLine1 pulseMessageLine2}}...on TempoWM_GLASSWWWItemCarouselConfigsV1 @include(if:$fP13){products{...ContentLayoutProduct athAsset}enableEnhancedTile subTitle showGridView isExternalTrafficOverlayCarousel isAtfSectionItemCarousel title athModule itemsSelection minItems type spBeaconInfo{adUuid moduleInfo pageViewUUID placement max}viewAllLink{linkText title clickThrough{type value rawValue tag}uid}}...on TempoWM_GLASSWWWInteractiveImageCarouselConfigsV1 @include(if:$fP13){type items title subTitle isInteractiveImageCarousel isAtfSectionItemCarousel interactiveImageCarouselSpan:span athModule firstTile key products{...ContentLayoutProduct}viewAllLink{linkText title clickThrough{type value rawValue tag}uid}spBeaconInfo{adUuid moduleInfo pageViewUUID placement max}interactiveImageCarouselTileOptions:tileOptions{productTitle}}...on TempoWM_GLASSWWWSeeSimilarModuleConfigs @include(if:$eSsm){seeSimilarModuleTitle:title ctaText}...on TempoWM_GLASSWWWItemComparisonChartConfigsV1 @include(if:$eCc){compChartItems:products{...comparisonChartItems}tileOptions{...tileOptionsV1}athModule title}...on TempoWM_GLASSWWWEducationalBannerConfigsV1{_rawConfigs bannerIcon{alt src assetId assetName}bannerTitle educationalBannerText:bannerText bannerLink{linkText title clickThrough{type value}}bannerLinkText isStickyBuybox secondaryBannerLink{title linkText}moduleTitle}...on TempoWM_GLASSWWWProductDescriptionPlaceholderATFConfigsV1{_rawConfigs}...on TempoWM_GLASSWWWSoftBundlesConfigs @include(if:$eSb){products{...ContentLayoutProduct}subTitle sTitle:title collapse __typename athModule}...on TempoWM_GLASSWWWCompressedItemCarouselConfigs{title subTitle manualShelfId isAtfSectionItemCarousel similarItems:products{athAsset...ContentLayoutProduct}type athModule spBeaconInfo{adUuid moduleInfo pageViewUUID placement max}}...on TempoWM_GLASSWWWItem404Configs{item404Title:title item404SubTitle:subTitle notFoundIcon{alt src assetId assetName}ctaLink{linkText title clickThrough{type value}}cta}...on TempoWM_GLASSWWWTabbedCarouselConfigs{title subTitle athModule itemCarousel{tabName tabId tileOptions{productTitle productPrice displayStandardPrice displayWasPrice displayAveragePriceCondition displayPricePerUnit fulfillmentBadging averageRatings mediaRatings productFlags productLabels addToCart addToRegistry addToList displayVariant addToCartButtonStyle}products{...ContentLayoutProduct}}}...on TempoWM_GLASSWWWItemFitmentModuleConfigs @include(if:$fFit){fitment{isPeakPerformanceMode partTypeID partTypeIDs result{fitmentType status notes position formId quantityTitle resultSubTitle spec{...FitmentSpecFragment}oilChangeSchedulingInfo{formattedOilViscosity oilViscosity oilViscosityLabel formattedOilType oilType oilTypeLabel formattedOilCapacity oilCapacityQuarts oilCapacityLabel fittingOilFilters{brand manufacturerNumber}}suggestions{id position loadIndex speedRating searchQueryParam labels{...FitmentLabel}fitmentSuggestionParams{id value}cat_id optionalSuggestionParams{id value displayName data{label value}dependsOn isRequired errorMessage}applicationSuggestionParams{position}}extendedAttributes{...FitmentFieldFragment}labels{...FitmentLabel}}labels{...FitmentLabel}savedVehicle{...FitmentVehicleFragment}}}...on TempoWM_GLASSWWWItemRelatedShelvesConfigs @include(if:$fSeo){seoItemRelmData(id:$iId){relm{id url name}}}...on TempoWM_GLASSWWWWalmartPlusBannerConfigsV1{heading disclaimer ctaLink{linkText title clickThrough{type value}}isDownloadBanner subscriptionEligible showBanner athModule athAsset}...on TempoWM_GLASSWWWItemHardBundlesConfigs{expandedOnPageLoad __typename}...on TempoWM_GLASSWWWWalmartPlusEarlyAccessBeforeEventConfigsV1{earlyAccessLogo{alt src}earlyAccessCardMesssage eaCardMessageStyles{textColor fontWeight}earlyAccessLink1{linkText clickThrough{value}}earlyAccessLink2{linkText clickThrough{value}}earlyAccessBeforeEventLink1Styles:earlyAccessLink1Styles{buttonSize buttonVariant}earlyAccessBeforeEventLink2Styles:earlyAccessLink2Styles{buttonSize buttonVariant}programName eventType bannerType earlyAccessBeforeEventVersion:version backgroundColor earlyAccessTitle titleStyles{textColor fontWeight}earlyAccessBeforeEventDisclaimer:disclaimer{text textColor}athModule}...on TempoWM_GLASSWWWRelatedSearchConfigs @include(if:$enableRelatedSearch){maxCount minCount headingText relatedSearch{relatedSearch{title imageUrl url}}}...on TempoWM_GLASSWWWWalmartPlusEarlyAccessDuringEventConfigsV1{earlyAccessLogo{alt src}earlyAccessTitle earlyAccessDuringEventTitleStyles:titleStyles{textColor fontWeight}earlyAccessCardMesssage earlyAccessDuringEventMessageStyles:eaCardMessageStyles{textColor fontWeight}earlyAccessSubText earlyAccessLink1{linkText clickThrough{value}}earlyAccessDuringEventLink1Styles:earlyAccessLink1Styles{buttonSize buttonVariant}earlyAccessLink2{linkText clickThrough{value}}earlyAccessDuringEventLink2Styles:earlyAccessLink2Styles{buttonSize buttonVariant}backgroundColor programName eventType bannerType earlyAccessDuringEventVersion:version earlyAccessDuringEventDisclaimer:disclaimer{text textColor}athModule}...on TempoWM_GLASSWWWLegalPriceDisclaimerConfigs{buyBoxText linkTextAndValue{linkText clickThrough{value}}modalHeadlineText modalText isStickyBuybox}...on TempoWM_GLASSWWWProductWarrantyPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWGeneralWarningsPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWProductIndicationsPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWProductDescriptionPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWRefurbishedInfoPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWProductIngredientsPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1 displayTitle}...on TempoWM_GLASSWWWProductDirectionsPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWProductSpecificationsPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWProductMedicalGuidesPlaceholderConfigs{expandedOnPageLoad}...on TempoWM_GLASSWWWNutritionValuePlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1 displayTitle}...on TempoWM_GLASSWWWReviewsPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWComparisonChartsPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWSubscriptionPriceMessageConfigs{subscriptionGreenPricingMessage}...on TempoWM_GLASSWWWSecondaryOfferBoostModuleConfigs{secondaryOfferText isStickyBuybox}...on TempoWM_GLASSWWWFreeShippingFreeReturnsConfigs{isStickyBuybox}...on TempoWM_GLASSWWWDigitalBridgeDownloadBannerConfigs{heading ctaLink{linkText title clickThrough{type value}}}...on TempoWM_GLASSWWWFreeTrialModuleConfigs{_rawConfigs}...on TempoWM_GLASSWWWPrePurchaseReviewIncentiveConfigs{reviewMessage(itemId:$iId){actionText countDownDaysText promoText}TermHeader TermContent1 TermContent2}...on TempoWM_GLASSWWWBreadcrumbConfigs{_rawConfigs}...on TempoWM_GLASSWWWItemBackInStockNotifyMeConfigs{_rawConfigs}...on TempoWM_GLASSWWWAlertContainerConfigs{_rawConfigs}...on TempoWM_GLASSWWWWarrantyPolicy{__typename}...on TempoWM_GLASSWWWInternationalShipping{__typename}...on TempoWM_GLASSWWWBuyBoxConditionsMultipleOffersConfigs{__typename}...on TempoWM_GLASSWWWBuyBoxSingleOfferConditionTextModuleConfigs{__typename}...on TempoWM_GLASSWWWBrandLinkConfigs{__typename}...on TempoWM_GLASSWWWBuyBoxRefurbishedMessageConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWBuyBoxRatingsAndReviewsConfigs{_rawConfigs}...on TempoWM_GLASSWWWLegalPriceDisclaimerConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWLowStockBadgeConfigs{_rawConfigs}...on ClaimRateBadgeModuleConfigs{__typename}...on TempoWM_GLASSWWWModalMarketingContentConfigs{__typename bannerContent modalContent}...on TempoWM_GLASSWWWPaymentPlansConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWPriceInformationConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWProductBasicInfoConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWProductFlagsConfigs{_rawConfigs}...on TempoWM_GLASSWWWItemPageBadgeModule1Configs{_rawConfigs}...on TempoWM_GLASSWWWItemPageBadgeModule2Configs{_rawConfigs}...on TempoWM_GLASSWWWItemPageBadgeModule3Configs{_rawConfigs}...on TempoWM_GLASSWWWProductNameConfigs{_rawConfigs}...on TempoWM_GLASSWWWSocialProofMessageConfigs{_rawConfigs}...on TempoWM_GLASSWWWSocialProofBadgesConfigs{_rawConfigs}...on TempoWM_GLASSWWWReviewPurchaseBadgesConfigs{_rawConfigs}...on TempoWM_GLASSWWWViewSimilarCTAConfigs{_rawConfigs}...on TempoWM_GLASSWWWAddToCartConfigs{_rawConfigs isStickyBuybox isNonStickyAtc earlyAccessOverrides{oosMessage oosCta{link{title linkText clickThrough{value}}variant}primaryEACta{primaryCta{title linkText clickThrough{value}}}}}...on TempoWM_GLASSWWWAddonServicesRedesignConfigs{_rawConfigs}...on TempoWM_GLASSWWWFSAHSABadgesConfigs{_rawConfigs}...on TempoWM_GLASSWWWFulfillmentConfigs{showWPlusComponent wPlusSubtitle wPlusSubtitleColor wPlusTitle wPlusTitleColor isStickyBuybox showFulfillmentTitleText @include(if:$enableWplusFulfillmentModalOnItemPage) wPlusShippingTextV2 @include(if:$enableWplusFulfillmentModalOnItemPage) wPlusDeliveryTextV2 @include(if:$enableWplusFulfillmentModalOnItemPage) wPlusCtaLink @include(if:$enableWplusFulfillmentModalOnItemPage){linkText title clickThrough{value}uid}shouldHideFulfillmentIntentTiles @include(if:$isGEPEnable) shippingHelpCentreLink @include(if:$isGEPEnable){clickThrough{type value}linkText}importFeeHelpCentreLink @include(if:$isGEPEnable){clickThrough{type value}linkText}}...on TempoWM_GLASSWWWViewFullDetailsConfigs{_rawConfigs}...on TempoWM_GLASSWWWGiftingEligibilityBadgeConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWGiftingNoteConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWInsuranceBadgingConfigs{_rawConfigs}...on TempoWM_GLASSWWWItemDigitalRewardsConfigs{shouldShowClaimRewardNudge claimRewardNudgeTitle claimRewardNudgeCloseCtaText athModule}...on TempoWM_GLASSWWWListsAndRegistriesConfigs{_rawConfigs}...on TempoWM_GLASSWWWNonConfigBundlesConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWPhysicalGiftCardOptionsConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWProductImagesConfigs{_rawConfigs}...on TempoWM_GLASSWWWProductReturnPolicyConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWProductStickyBuyBoxConfigs{_rawConfigs}...on TempoWM_GLASSWWWServiceDisclosureConfigs{_rawConfigs}...on TempoWM_GLASSWWWSoldAndShippedByConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWSubscriptionOptionsModuleConfigs{_rawConfigs subscriptionOverrideDefault subscriptionFrequencyListTitle frequencyList @include(if:$isSubscriptionFrequencyListEnabled){unitOfMeasure value isSelected isMostCommon}predictedFrequency @include(if:$isSubscriptionFrequencyListEnabled){id uom value}athModule athAsset}...on TempoWM_GLASSWWWSubscriptionPriceMessageConfigs{_rawConfigs}...on TempoWM_GLASSWWWVariantsConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWAddOnServicesPlaceholderConfigs{_rawConfigs}...on TempoWM_GLASSWWWProductHighlightsPlaceholderConfigs{_rawConfigs isStickyBuybox}...on TempoWM_GLASSWWWMediaPlaceholderConfigs{_rawConfigs}...on TempoWM_GLASSWWWAppDownloadPOVConfigs{heading ctaLink{linkText clickThrough{type value}}}...on TempoWM_GLASSWWWMarketingContentBtfConfigs{heading expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWProductDescriptionPlaceholderConfigs{expandedOnPageLoad expandedOnPageLoadV1}...on TempoWM_GLASSWWWZeekitConfigs{zeekit{...ZeekitFragment}}...on TempoWM_GLASSWWWQuestionAndAnswerConfigs{_rawConfigs}...on TempoWM_GLASSWWWSponsoredVideoAdConfigs @include(if:$spVid){_rawConfigs}...on TempoWM_GLASSWWWBrandAmplifierAdConfigs @include(if:$spSBA){_rawConfigs}...on TempoWM_GLASSWWWLinkOutConfigs @include(if:$eA2S){titleText}...InterPageNavigationBanner...TopNavFragment...CapitalOneBannerFragment...OneDebitCardBannerFragment...RegistryElevatedModuleFragment @include(if:$fRem)...LensCustomizationBuyBoxFragment...YouthLensCustomizationBuyBoxFragment...VisionPromoDiscountFragment...BrandBoxDisplayAdConfigsFragment @include(if:$fBB)...BuyBoxAdConfigsFragment @include(if:$fBBAd)...GalleryDisplayAdConfigsFragment @include(if:$fGalAd)...MarqueeDisplayAdConfigsFragment @include(if:$fMq)...SkylineDisplayAdConfigsFragment @include(if:$fSL)...SponsoredProductCarouselConfigsFragment @include(if:$fSCar)...DynamicAdContainerConfigsFragment @include(if:$fDac)...PreownedInfoContentFragment...TileCardsFragment...ItemSpecialRequestFragment}moduleId matchedTrigger{pageType pageId zone inheritable}name type version status publishedDate}layouts(layout:$layout){id layout}pageMetadata{location{pickupStore deliveryStore intent postalCode stateOrProvinceCode city storeId accessType accessPointId spokeNodeId}pageContext p13nMetadata lazyModules hasTempoDrivenSizeGuide}seeSimilarButtonText showSeeSimilarButton shopSimilarCoverage}fragment FitmentLabel on FitmentLabels{links{...FitmentLabelEntity}messages{...FitmentLabelEntity}ctas{...FitmentLabelEntity}images{...FitmentLabelEntity}}fragment FitmentLabelEntity on FitmentLabelEntity{id label}fragment FitmentFieldFragment on FitmentField{id value displayName data{value label}extended dependsOn isRequired errorMessage}fragment FitmentVehicleFragment on FitmentVehicle{vehicleType{...FitmentVehicleFieldFragment}vehicleYear{...FitmentVehicleFieldFragment}vehicleMake{...FitmentVehicleFieldFragment}vehicleModel{...FitmentVehicleFieldFragment}additionalAttributes{...FitmentVehicleFieldFragment}}fragment FitmentVehicleFieldFragment on FitmentVehicleField{id value label}fragment FitmentSpecFragment on FitmentSpecValue{label displayValue}fragment ContentLayoutProduct on Product{id name athAsset badges{...BadgesFragment}clickTrackingURL @include(if:$enableClickTrackingURL) canonicalUrl classType availabilityStatus showAtc personalizable isReplenishable externalInfo{url}averageRating socialInfo{socialHandleName}fulfillmentBadge fulfillmentSpeed fulfillmentTitle fulfillmentType annualEvent annualEventV2 earlyAccessEvent isEarlyAccessItem eventAttributes{priceFlip specialBuy}itemType groupMetaData{groupType groupSubType numberOfComponents groupComponents{quantity offerId componentType productDisplayName}}imageInfo{thumbnailUrl id name width height imageMaps{configs{shape coords{x y}anchorPoint metadataConfigs{...on ItemImageMapMetaData{itemId type name price}}}}}productType numberOfReviews offerId orderMinLimit orderLimit weightIncrement p13nDataV1{predictedQuantity flags{PREVIOUSLY_PURCHASED{text}CUSTOMERS_PICK{text}}}previouslyPurchased{label}preOrder{...PreorderFragment}priceInfo{currentPrice{...ProductPriceFragment priceDisplay}listPrice{...ProductPriceFragment}subscriptionPrice{priceString}shipPrice{...ProductPriceFragment}priceDisplayCodes{clearance eligibleForAssociateDiscount finalCostByWeight priceDisplayCondition reducedPrice rollback submapType}priceRange{minPrice maxPrice priceString}unitPrice{...ProductPriceFragment}wasPrice{...ProductPriceFragment}comparisonPrice{...ProductPriceFragment}savingsAmount{priceString}capType walmartFundedAmount{...ProductPriceFragment}wPlusEarlyAccessPrice{memberPrice{...ProductPriceFragment priceDisplay}savings{amount priceString}eventStartTime eventStartTimeDisplay}}promoDiscount{discount discountEligible discountEligibleVariantPresent promotionId promoOffer state type showOtherEligibleItemsCTA min awardValue}rhPath rxDrugScheduleType @include(if:$enableRxDrugScheduleModal) brand @include(if:$enableDetailedBeacon) category{path @include(if:$enableDetailedBeacon){name url}categoryPath categoryPathId}type salesUnit sellerId sellerName sellerType hasSellerBadge seller{name sellerId}shippingOption{slaTier shipMethod}quickShop quickShopCTALabel showOptions snapEligible promoData @include(if:$enablePromoData){type templateData{priceString imageUrl}}sponsoredProduct{spQs clickBeacon viewBeacon spTags}usItemId variantCount variantCriteria{name id variantList{name swatchImageUrl selectedProduct{usItemId canonicalUrl}}}}fragment EbookLinksModule on TempoWM_GLASSWWWEbookLinksModuleConfigs{digitalFormatHeading googlePlayIcon{src}googlePlayText googlePlayButtonText appleIbooksIcon{src}appleIbooksText appleIbooksButtonText}fragment CompleteTheLookModule on TempoWM_GLASSWWWItemCompleteTheLookConfigsV1{title subTitle athModule products{...CompleteTheLookProduct}p13nCtlColumn1{...CompleteTheLookColumn}p13nCtlColumn2{...CompleteTheLookColumn}p13nCtlColumn3{...CompleteTheLookColumn}looks{...CompleteTheLookMultipleLooks}}fragment CompleteTheLookProduct on Product{name brand catalogSellerId canonicalUrl availabilityStatus externalInfo{url}id imageInfo{thumbnailUrl id name}priceInfo{currentPrice{...ProductPriceCTLModuleFragment}wasPrice{...ProductPriceCTLModuleFragment}}badges{flags{__typename}}usItemId}fragment ProductPriceCTLModuleFragment on ProductPrice{price priceString variantPriceString currencyUnit bestValue}fragment CompleteTheLookColumn on TempoWM_GLASSWWWP13nCtlColumn{isAnchor cellSpan index isLong}fragment CompleteTheLookMultipleLooks on TempoWM_GLASSWWWP13nCtlMultipleLooks{p13nCtlColumn1{...CompleteTheLookColumn}p13nCtlColumn2{...CompleteTheLookColumn}p13nCtlColumn3{...CompleteTheLookColumn}}fragment RegistryElevatedModuleFragment on RegistryElevatedModuleConfigs{types{pageType catIds moduleVariants{moduleVariant buttons{buttonType variant action buttonText buttonSuccessText}}}}fragment tileOptionsV1 on CLSTempoWM_GLASSMobileCommonTileOptions{addToCart averageRatings displayAveragePriceCondition displayPricePerUnit displayStandardPrice displayWasPrice fulfillmentBadging mediaRatings productFlags productLabels productPrice productTitle}fragment comparisonChartItems on Product{availabilityStatus averageRating brand canonicalUrl catalogSellerId classType fulfillmentType fulfillmentBadge id imageInfo{thumbnailUrl}name externalInfo{url}numberOfReviews orderLimit showOptions showAtc category{categoryPath categoryPathId}offerId priceInfo{priceDisplayCodes{finalCostByWeight submapType priceDisplayCondition}currentPrice{...ProductPriceFragment priceDisplay}wasPrice{...ProductPriceFragment}comparisonPrice{priceString}unitPrice{...ProductPriceFragment}savings{priceString}savingsAmount{priceString}shipPrice{...ProductPriceFragment}subscriptionPrice{price priceString intervalFrequency duration percentageRate subscriptionString}priceRange{minPrice maxPrice priceString currencyUnit denominations{price priceString selected}}listPrice{...ProductPriceFragment}capType walmartFundedAmount{...ProductPriceFragment}wPlusEarlyAccessPrice{memberPrice{...ProductPriceFragment priceDisplay}savings{amount priceString}eventStartTime eventStartTimeDisplay}}sellerId sellerName shippingOption{shipMethod}usItemId comparisonChart{...ComparisonChartFragment}}fragment ComparisonChartFragment on ComparisonChart{usItemId title sections{sectionName attributes{attrId displayName dataType highlight value}}}fragment TopNavFragment on TempoWM_GLASSWWWCategoryTopNavConfigs{navHeaders{header{linkText clickThrough{value}}headerImageGroup{headerImage{alt src assetId assetName}imgTitle imgSubText imgLink{linkText title clickThrough{value}}}categoryGroup{category{linkText clickThrough{value}}startNewColumn subCategoryGroup{subCategory{linkText clickThrough{value}}isBold openInNewTab}}}}fragment CapitalOneBannerFragment on TempoWM_GLASSWWWCapitalOneBannerConfigsV1{athModule bannerBackgroundColor primaryImage{alt src assetId assetName}bannerCta{ctaLink{linkText title clickThrough{value}uid}textColor}bannerText{text isBold isUnderlined underlinedColor textColor}subText creditOfferValue creditSpendGoal disclaimerText{text isBold isUnderlined underlinedColor textColor}}fragment OneDebitCardBannerFragment on TempoWM_GLASSWWWOneDebitCardBannerConfigs{_rawConfigs bannerColor:bannerBackgroundColor bannerImage:primaryImage{alt assetId assetName clickThrough{type value}height src title width size contentType uid}bannerLinkCta:bannerCta{ctaLink{linkText title clickThrough{type value}uid}isNewTabRedirection textColor}textbanner:bannerText{text isBold isUnderlined underlinedColor textColor}}fragment LensCustomizationBuyBoxFragment on TempoWM_GLASSWWWLensCustomizationBuyBoxConfigs{_rawConfigs glassesTitle sunGlassesTitle radioOptionTitleNonPrescription radioOptionTitlePrescription lensBuyBoxText lensBuyBoxSunGlassesText boldText sunglassesBoldText lensBuilderBannerIcon{alt assetId assetName clickThrough{type value rawValue tag}height src title width size contentType uid}lensBuilderBannerLink{linkText title clickThrough{type value rawValue tag}uid}}fragment YouthLensCustomizationBuyBoxFragment on TempoWM_GLASSWWWYouthLensCustomizationBuyBoxConfigs{youthLensPurchaseOptionsHeading:heading nonPrescriptionPriceText nonPrescriptionSunglassesTextBulletOne nonPrescriptionTextBulletOne prescriptionPriceText prescriptionSunglassesTextBulletOne prescriptionSunglassesTextBulletTwo prescriptionTextBulletOne prescriptionTextBulletTwo radioOptionTitleNonPrescription radioOptionTitleNonPrescriptionSunglasses radioOptionTitlePrescriptionSunglasses showYouthLensesCheckboxView showYouthLensesSunglassesCheckboxView youthPricesCheckboxText youthPricesLinkText}fragment InterPageNavigationBanner on TempoWM_GLASSWWWInterPageNavigationBannerConfigs{bannerImage{src assetId assetName height width alt}destination{title clickThrough{value}}bannerCtaGroup{textColor bannerCta{linkText title clickThrough{value}}}}fragment VisionPromoDiscountFragment on TempoWM_GLASSWWWVisionPromoDiscountConfigs{_rawConfigs promoDisplayStart promoDisplayEnd promotionTitle termsSubtitle termsText}fragment BrandBoxDisplayAdConfigsFragment on TempoWM_GLASSWWWBrandBoxDisplayAdConfigs{_rawConfigs isStickyBuybox}fragment BuyBoxAdConfigsFragment on TempoWM_GLASSWWWBuyBoxAdConfigs{_rawConfigs moduleLocation lazy ad{...SponsoredProductsAdFragment @skip(if:$eLLBBAds)...AdFragment @include(if:$eLLBBAds)}isStickyBuybox}fragment GalleryDisplayAdConfigsFragment on TempoWM_GLASSWWWGalleryDisplayAdConfigs{_rawConfigs}fragment MarqueeDisplayAdConfigsFragment on TempoWM_GLASSWWWMarqueeDisplayAdConfigs{_rawConfigs ad{...DisplayAdFragment}}fragment DisplayAdFragment on Ad{...AdFragment adContent{type data{__typename...AdDataDisplayAdFragment...AdDataDisplayAdDSPFragment}}}fragment AdFragment on Ad{status moduleType platform pageId pageType storeId stateCode zipCode pageContext moduleConfigs adsContext adRequestComposite}fragment AdDataDisplayAdFragment on AdData{...on DisplayAd{json status}}fragment AdDataDisplayAdDSPFragment on AdData{...on MultiImpDspAd{ads{assets eventTrackers link metaData templateId variantId}}...on DisplayAdDSP{assets eventTrackers link metaData templateId variantId}}fragment SkylineDisplayAdConfigsFragment on TempoWM_GLASSWWWSkylineDisplayAdConfigs{_rawConfigs ad{...SkylineDisplayAdFragment}}fragment SkylineDisplayAdFragment on Ad{...SkylineAdFragment adContent{type data{__typename...SkylineAdDataDisplayAdFragment...SkylineAdDataDisplayAdDSPFragment}}}fragment SkylineAdFragment on Ad{status moduleType platform pageId pageType storeId stateCode zipCode pageContext moduleConfigs adsContext adRequestComposite}fragment SkylineAdDataDisplayAdFragment on AdData{...on DisplayAd{json status}}fragment SkylineAdDataDisplayAdDSPFragment on AdData{...on MultiImpDspAd{ads{assets eventTrackers link metaData templateId variantId}}...on DisplayAdDSP{assets eventTrackers link metaData templateId variantId}}fragment SponsoredProductCarouselConfigsFragment on TempoWM_GLASSWWWSponsoredProductCarouselConfigs{_rawConfigs moduleType ad{...SponsoredProductsAdFragment}}fragment SponsoredProductsAdFragment on Ad{...AdFragment adContent{type model data{__typename...AdDataSponsoredProductsFragment}}}fragment AdDataSponsoredProductsFragment on AdData{...on SponsoredProducts{adUuid adExpInfo moduleInfo products{...ProductFragment}}}fragment ProductFragment on Product{usItemId offerId specialCtaType @include(if:$enableSignInToSeePrice) orderMinLimit @include(if:$enableItemLimits) orderLimit @include(if:$enableItemLimits) badges{flags{__typename...on BaseBadge{id text key query type styleId}...on PreviouslyPurchasedBadge{id text key lastBoughtOn numBought criteria{name value}}}labels{__typename...on BaseBadge{id text key}...on PreviouslyPurchasedBadge{id text key lastBoughtOn numBought}}tags{__typename...on BaseBadge{id text key}}groups{__typename name members{...on BadgeGroupMember{__typename id key memberType rank slaText styleId text type}...on CompositeGroupMember{__typename join memberType styleId suffix members{__typename id key memberType rank slaText styleId text type}}}}groupsV2{name flow pos members{memType memId memStyleId fbMemStyleId content{type value styleId fbStyleId contDesc url actionId}}}}priceInfo{priceDisplayCodes{rollback reducedPrice eligibleForAssociateDiscount clearance strikethrough submapType priceDisplayCondition unitOfMeasure pricePerUnitUom}currentPrice{price priceString priceDisplay}wasPrice{price priceString}listPrice{price priceString}priceRange{minPrice maxPrice priceString}unitPrice{price priceString}savingsAmount{priceString}comparisonPrice{priceString}subscriptionPrice{priceString subscriptionString price minPrice maxPrice intervalFrequency duration percentageRate durationUOM interestUOM}wPlusEarlyAccessPrice{memberPrice{price priceString priceDisplay}savings{amount priceString}eventStartTime eventStartTimeDisplay}}preOrder{streetDate streetDateDisplayable streetDateType isPreOrder preOrderMessage preOrderStreetDateMessage}annualEventV2 earlyAccessEvent isEarlyAccessItem eventAttributes{priceFlip specialBuy}snapEligible showOptions promoData @include(if:$enableAdsPromoData){type templateData{priceString imageUrl}}sponsoredProduct{spQs clickBeacon spTags}canonicalUrl conditionV2{code groupCode}numberOfReviews averageRating availabilityStatus imageInfo{thumbnailUrl allImages{id url}}name fulfillmentBadge classType type showAtc brand sellerId sellerName sellerType rxDrugScheduleType @include(if:$enableRxDrugScheduleModal)}fragment DynamicAdContainerConfigsFragment on TempoWM_GLASSWWWDynamicAdContainerConfigs{_rawConfigs adModules{moduleType moduleLocation priority}zoneLocation lazy}fragment PreownedInfoContentFragment on TempoWM_GLASSWWWPreOwnedInfoContentConfigs{_rawConfigs expandedOnPageLoad preownedConditionTypes{conditionTypeName conditionTypeHeading conditionTypeDefinition}preownedConditionSubHeadingName preownedConditionSubHeadingContent preownedConditionSubHeadingAdditionalInfo{additionalInfoPrefixText additionalInfoPrefixLink{linkText title clickThrough{type value rawValue tag}uid}additionalInfoContent}preownedConditionHighlightsTitle preownedConditionHighlights{highlightImage{alt assetId assetName clickThrough{type value rawValue tag}height src title width size contentType uid}highlightIcon{alt assetId assetName clickThrough{type value rawValue tag}height src title width size contentType uid}highlightHeading highlightContent}preownedConditionNotes{conditionNoteDetails}}fragment TileCardsFragment on TempoWM_GLASSWWWTileCardsConfigs{cardTileTitle:title cardType tileCards:cards{header image{src alt title}body externalLink{clickThrough{value}}button backgroundColor mobileImage{src alt title}isExternalLink}}fragment ItemSpecialRequestFragment on TempoWM_GLASSWWWItemSpecialRequestConfigs{_rawConfigs requestText addButtonText messageLength}fragment FullProductFragment on Product{specialOrderQuantityEligible fulfillmentTypeClassification primaryProductId ebooks{appleLink googleLink}eGiftCard{orderLimit recipientLimit maxAmount}itemTypeV2 primaryOffer{...PrimaryOfferFragment}blitzItem giftingEligibility showCondition selectedOfferId specialCtaType specialCtaContext productDisclaimers{value valueRank}wirelessCarrier wirelessThirdPartyUrl staticMessageType shippingCostType conditionOffers{offerId availabilityStatus{display value}condition{code text groupCode groupText}price{price priceString}topBoostedOffer{...TopBoostedOfferFragment}moreConditions{priceString}}shipAsIs subscription{showSubscriptionModule subscriptionEligible subscriptionTransactable subscriptionSubmessage}subscriptionEligible showSubscriptionModule buyBoxSuppression discounts{discountedValue{price priceString}discountMetaData{id type savings{amount priceString percent}price{price priceString priceDisplay}unitPrice{price priceString}comparisonPrice{price priceString}unitPriceDisplayCondition}}promotionMessages @include(if:$enablePromotionMessages){type message specialMessage popupMessage expiryDateMessage limitMessage bundledDisplayName badgeTitle badgeBackgroundColor badgeTextColor badgeStyleId}channelLevelPriceInfo @include(if:$enableChannelLevelPricing){type itemNumber storeFrontType channelPriceInfo{priceDisplayCodes{...PriceDisplayCodesFragment}currentPrice{...ProductPriceFragment priceDisplay}wasPrice{...ProductPriceFragment}comparisonPrice{priceString}unitPrice{...ProductPriceFragment}savings{amount priceString}savingsAmount{amount priceString}secondaryOfferBoost shipPrice{...ProductPriceFragment}isPriceReduced priceReducedDisplay subscriptionPrice{price priceString intervalFrequency duration percentageRate subscriptionString}priceRange{minPrice maxPrice priceString currencyUnit denominations{price priceString selected}}listPrice{...ProductPriceFragment}capType walmartFundedAmount{...ProductPriceFragment}wPlusEarlyAccessPrice{memberPrice{...ProductPriceFragment priceDisplay}savings{amount priceString}eventStartTime eventStartTimeDisplay}additionalFees{dutyFee{price priceString}shippingAndImportFee{price priceString}estimatedTotalPrice{price priceString}countryName}}}rewards @include(if:$eItIb){eligible state minQuantity maxQuantity rewardAmt promotionId selectionToken cbOffer description term expiry rewardMultiplierStr}promoDiscount{discount discountEligible discountEligibleVariantPresent maxPerOrder maxPerTxn promotionId promoOffer state type showOtherEligibleItemsCTA min awardValue description term expiry}showFulfillmentLink additionalOfferCount legalRestriction lmpEligible isLMPAlcoholItem isLMPAlcoholSeller availabilityStatus availabilityStatusV2{display value}itemPageAvailabilityStatus @include(if:$isGEPEnable) upstreamErrorCode @include(if:$enableUpstreamErrorCode) averageRating associatedBundleId suppressReviews brand brandUrl badges{...BadgesFragment...GenericBadgeFragment}rhPath aaiaBrandId manufacturerProductId productTypeId tireSize tireLoadIndex tireSpeedRating trustBadges{type subtype}viscosity motorOilType model buyNowEligible rxDrugScheduleType @include(if:$enableRxDrugScheduleModal) petRxEligible petRx{eligible singleDispense}claimRate vision{visionCenterApproved ageGroup}earlyAccessEvent isEarlyAccessItem annualEvent eventAttributes{priceFlip specialBuy}isWplusMember showBuyWithWplus preOrder{...PreorderFragment}ozarkAttributes{shippingPromise exactAddress}canonicalUrl catalogSellerId sellerReviewCount sellerAverageRating category{...ProductCategoryFragment}classType classId fulfillmentTitle shortDescription fulfillmentType fulfillmentBadge checkStoreAvailabilityATC checkAvailabilityGlobalDFS hasSellerBadge hasCarePlans hasHomeServices itemType id abstractProductId primaryUsItemId conditionType imageInfo{...ProductImageInfoFragment}name personalizable isReplenishable topBoostedOffer{...TopBoostedOfferFragment}externalInfo{url}numberOfReviews orderMinLimit orderLimit weightIncrement offerId offerType priceInfo{priceDisplayCodes{...PriceDisplayCodesFragment}currentPrice{...ProductPriceFragment priceDisplay}wasPrice{...ProductPriceFragment}comparisonPrice{priceString}unitPrice{...ProductPriceFragment}savings{amount priceString}savingsAmount{amount priceString}secondaryOfferBoost shipPrice{...ProductPriceFragment}isPriceReduced priceReducedDisplay subscriptionPrice{price priceString intervalFrequency duration percentageRate subscriptionString}priceRange{minPrice maxPrice priceString currencyUnit denominations{price priceString selected}}listPrice{...ProductPriceFragment}capType walmartFundedAmount{...ProductPriceFragment}wPlusEarlyAccessPrice{memberPrice{...ProductPriceFragment priceDisplay}savings{amount priceString}eventStartTime eventStartTimeDisplay}additionalFees{dutyFee{price priceString}shippingAndImportFee{price priceString}giftCardMarginAndFee{fee{feeType value}}estimatedTotalPrice{price priceString}countryName}}returnPolicy{returnable freeReturns returnWindow{value unitType}returnPolicyText returnPolicyTextCode{code data{name value}}returnPolicyCondition holidayReturnEnabled}fsaEligibleInd sellerId sellerName sellerDisplayName sellerStoreFrontURL secondaryOfferPrice{currentPrice{priceType priceString price}}semStoreData{pickupStoreId deliveryStoreId isSemLocationDifferent}type pickupOption{slaTier accessTypes availabilityStatus storeName storeId}salesUnit usItemId transactableOfferCount maxRewardAmongAllVariants @skip(if:$sV) variantCriteria @skip(if:$sVC){id categoryTypeAllValues isFitPredictable isSizeChartApplicable name type variantList{availabilityStatus id images name products swatchImageUrl selected seeOptions}}variants @skip(if:$sV){...MinimalProductFragment}groupMetaData{groupType groupSubType numberOfComponents groupComponents{quantity offerId componentType productDisplayName canonicalURL usItemId roundedAverageOverallRating totalReviewCount imageInfo{thumbnailUrl id name}}}upc wfsEnabled wfsProviderName sellerType ironbankCategory snapEligible promoData @include(if:$fAff){id description terms type templateData{priceString imageUrl aprString financeDataPromotionType flagType}duration @include(if:$enableBnplMessage) frequencyLabel @include(if:$enableBnplMessage) hasFees @include(if:$enableBnplMessage) name @include(if:$enableBnplMessage) subName @include(if:$enableBnplMessage) applicationInfo @include(if:$enableBnplMessage){clickThroughAction{clickThrough{value}}}termsAndConditions @include(if:$enableBnplMessage){clickThroughAction{clickThrough{value}}}noInterestInstallmentsPromotion{bank installments payments currencyAmount currencyUnit}installmentsPromotion{bank imageUrl plan{minAmount currencyUnit type installments{duration total installmentAmount}}}}showAddOnServices showSeeSimilarModule @include(if:$eSsm) addOnServices:addOnServicesReordered{serviceType serviceTitle serviceSubTitle serviceProviders groups{groupType groupTitle assetUrl shortDescription longDescription groupModuleTitle @include(if:$enableAOSModuleAttribute) groupModuleSubTitle @include(if:$enableAOSModuleAttribute) secondaryAssetUrl unavailabilityReason nearByStores{nodes{id displayName distance}}services{name displayName offerId usItemId selectedDisplayName serviceMetaData currentPrice{price priceString}giftEligible offerIdList}}}productLocation{displayValue}zeekitData{...ZeekitFragment}experienceType redirect{replacedByItemId replacedByProductId replacedByProductUrlText}langUrls{lang url}pac{fulfillmentPacModule pacType pacTypeV2 reasonCode remainingPAC showPAC}fulfillmentSummary{fulfillment storeId deliveryDate sla{unitOfMeasure measurementValue}calculatedSlaDays fulfillmentMethods fulfillmentBadge isFreeForWPlus}availableFulfillmentOptions showExploreOtherConditionsCTA isPreowned preownedCondition newConditionProductId displayOfferLevelImage availabilityInNearbyStore gender mhmdFlag specialInstruction isBadSplitItem...FulfillmentSectionFragment}fragment PrimaryOfferFragment on ProductOffer{warranty{length information url}}fragment ProductCategoryFragment on ProductCategory{categoryPathId path{name url}}fragment FulfillmentSectionFragment on Product{fulfillmentLabel{checkStoreAvailability wPlusFulfillmentText message shippingText fulfillmentText locationText fulfillmentType fulfillmentMethod addressEligibility postalCode}fulfillmentOptions @include(if:$fIlc){...on ShippingOptionV2{__typename type selected intent availabilityType availableQuantity maxOrderQuantity orderLimit speedDetails{maxDeliveryDate fulfillmentBadge deliveryDate orderCutoffTime fulfillmentPrice{price priceString}freeFulfillment wPlusEligible}locationText availabilityStatus subscriptionSubmessage inventoryStatus{fulfillmentBadge quantity}restricted}...on PickupOptionV2{__typename type selected intent availableQuantity maxOrderQuantity orderLimit speedDetails{maxDeliveryDate fulfillmentBadge deliveryDate fulfillmentPrice{price priceString}freeFulfillment wPlusEligible earliestSlot{startDateTime endDateTime}}locationText availabilityStatus subscriptionSubmessage inventoryStatus{fulfillmentBadge quantity}productLocation{displayValue}storeName checkStoreAvailability}...on DeliveryOptionV2{__typename type selected intent availableQuantity maxOrderQuantity orderLimit restricted speedDetails{maxDeliveryDate fulfillmentBadge deliveryDate fulfillmentPrice{price priceString}freeFulfillment wPlusEligible}locationText availabilityStatus subscriptionSubmessage deliveryTier}...on HOTDeliveryOptionV2{__typename type selected intent availableQuantity maxOrderQuantity orderLimit speedDetailsList{maxDeliveryDate fulfillmentBadge deliveryDate orderCutoffTime fulfillmentPrice{price priceString}freeFulfillment wPlusEligible earliestSlot{startDateTime endDateTime}isPreferred deliveryType}locationText availabilityStatus subscriptionSubmessage inventoryStatus{fulfillmentBadge quantity}restricted subscriptionTransactable}...on DigitalOptionV2{__typename type}...on InStorePurchaseOptionV2{__typename type availabilityStatus locationText productLocation{displayValue}availableQuantity storeName checkStoreAvailability}}location{postalCode stateOrProvinceCode city storeIds addressId intent mpPickupLocation{postalCode storeId}pickupLocation{storeId accessPointId accessType}}shippingRestriction shippingOption{...ShippingOptionFragment}}fragment ShippingOptionFragment on ShippingOption{availabilityStatus slaTier deliveryDate maxDeliveryDate shipMethod shipPrice{...ProductPriceFragment}internationalShipping{conditionLink country description wfsGlobalEnabled}}fragment ProductImageInfoFragment on ProductImageInfo{allImages{id url zoomable}thumbnailUrl thumbnailAspectRatio}fragment PriceDisplayCodesFragment on PriceDisplayCodes{clearance eligibleForAssociateDiscount finalCostByWeight priceDisplayCondition reducedPrice rollback submapType isB2BPrice pricePerUnitUom}fragment MinimalProductFragment on Variant{availabilityStatus discounts{discountedValue{price priceString}discountMetaData{id type savings{amount priceString percent}price{price priceString priceDisplay}unitPrice{price priceString}comparisonPrice{price priceString}unitPriceDisplayCondition}}buyBoxSuppression subscriptionEligible imageInfo{...ProductImageInfoFragment}priceInfo{priceDisplayCodes{...PriceDisplayCodesFragment}currentPrice{...ProductPriceFragment}wasPrice{...ProductPriceFragment}unitPrice{...ProductPriceFragment}listPrice{...ProductPriceFragment}savingsAmount{amount priceString}secondaryOfferBoost isPriceReduced priceReducedDisplay}productUrl usItemId id:productId fulfillmentBadge}fragment TopBoostedOfferFragment on TopBoostedOffer{dateString displayPrice fulfillmentPromise offerId priceString sellerId sellerName shippingCost}fragment MarketingDescriptionFragment on Idml{marketingDescription{name value}}fragment IDMLFragment on Idml{arExperience{name values}genAiDetails{genAiDescription}sizeCharts{id tagDisplay url}chokingHazards{...LegalContentFragment}productHighlights{name value iconURL}directions{name value}indications{name value}ingredients{activeIngredientName{name value}activeIngredients{name value}inactiveIngredients{name value}ingredients{name value}}longDescription shortDescription interactiveProductVideo specifications{name value}drugGuide{name value}warnings{name value}warranty{information length url}esrbRating mpaaRating nutritionFacts{calorieInfo{...NutritionAttributeFragment}keyNutrients{name values{...NutritionAttributeFragment}}vitaminMinerals{...NutritionAttributeFragment}servingInfo{...ServingAttributeFragment}additionalDisclaimer{...IdmlAttributeFragment values{...IdmlAttributeFragment values{...IdmlAttributeFragment}}}staticContent{...IdmlAttributeFragment values{...IdmlAttributeFragment values{...IdmlAttributeFragment}}}}videos{poster title versions{small large}}product360ImageContainer{name url}hasMarketingDescription}fragment NutritionAttributeFragment on NutritionAttribute{name mainNutrient{...NutrientFragment}childNutrients{...NutrientFragment childNutrients{...NutrientFragment}}}fragment NutrientFragment on Nutrient{name amount dvp childNutrients{name amount dvp}}fragment ServingAttributeFragment on ServingAttribute{name values{...IdmlAttributeFragment values{...IdmlAttributeFragment}}}fragment IdmlAttributeFragment on IdmlAttribute{name value attribute}fragment LegalContentFragment on LegalContent{ageRestriction headline headline image mature message}fragment FullReviewsFragment on ProductReviews{averageOverallRating aspects{id name score snippetCount}aspectSummary{summary summaryTitle}reviewSummary{summary summaryTitle summaryAspects{aspectId aspectStart aspectEnd aspectSentiment}}lookupId customerReviews{...CustomerReviewsFragment}ratingValueFiveCount ratingValueFourCount ratingValueOneCount ratingValueThreeCount ratingValueTwoCount roundedAverageOverallRating topNegativeReview{reviewId rating reviewSubmissionTime userNickname negativeFeedback positiveFeedback reviewText reviewTitle badges{badgeType id contentType glassBadge{id text}}clientResponses{date department logoImage name response}syndicationSource{logoImageUrl contentLink name}snippetFromTitle media{id reviewId mediaType normalUrl thumbnailUrl caption rating}}topPositiveReview{reviewId rating reviewSubmissionTime userNickname negativeFeedback positiveFeedback reviewText reviewTitle badges{badgeType id contentType glassBadge{id text}}syndicationSource{logoImageUrl contentLink name}snippetFromTitle clientResponses{date department logoImage name response}media{id reviewId mediaType normalUrl thumbnailUrl caption rating}}topProductMedia{id reviewId mediaType normalUrl thumbnailUrl caption rating}totalMediaCount totalReviewCount reviewsWithTextCount percentageFiveCount percentageFourCount percentageThreeCount percentageTwoCount percentageOneCount reviewAndRatingCountAsString{totalReviewsCountAsString reviewsWithTextCountAsString ratingValueOneCountAsString ratingValueTwoCountAsString ratingValueThreeCountAsString ratingValueFourCountAsString ratingValueFiveCountAsString}reviewFeatures{id name actualValue type values{key label value}}itemVariantInfo{name value}}fragment CustomerReviewsFragment on CustomerReview{reviewId rating reviewSubmissionTime reviewText reviewTitle negativeFeedback positiveFeedback userNickname fulfilledBy status sellerName conditionGroupCode condition media{id reviewId mediaType normalUrl thumbnailUrl caption rating}photos{caption id sizes{normal{...ReviewPhotoSizeFragment}thumbnail{...ReviewPhotoSizeFragment}}}badges{badgeType id contentType glassBadge{id text}}clientResponses{date department logoImage name response}syndicationSource{logoImageUrl contentLink name}snippetFromTitle features{name value}}fragment ReviewPhotoSizeFragment on ReviewPhotoSize{id url}fragment FullQuestionAnswerFragment on ProductQuestions{id itemId limit page pageInfo{total pages{num url active}next{url}currentSpan}questionDetails{questionId authorId userNickname negativeFeedback positiveFeedback questionSummary questionSubmissionDate lastAnswerDate totalAnswersCount bvId answers{id answerLastModificationTime answerSubmissionTime bvUserId answerAddedTs questionId userNickname answerText answerId positiveVoteCount negativeVoteCount}}}fragment BadgesFragment on UnifiedBadge{flags{__typename...on BaseBadge{id text key rank query type styleId @include(if:$fSId) bundleId @include(if:$enableMultiSave)}...on PreviouslyPurchasedBadge{id text key lastBoughtOn styleId criteria{name value}}}labels{__typename...on BaseBadge{id text key}...on PreviouslyPurchasedBadge{id text key lastBoughtOn styleId}}tags{__typename...on BaseBadge{id text key type}}...BadgeGroupFragment}fragment BadgeGroupFragment on UnifiedBadge{groups{__typename name members{...on BadgeGroupMember{__typename id key memberType rank slaText styleId text type iconId badgeContent{__typename id type usecase value styleId}}...on CompositeGroupMember{__typename join memberType styleId suffix members{__typename id key memberType rank slaText styleId text type iconId badgeContent{__typename id type usecase value}}}}}...GenericBadgeFragment}fragment PreorderFragment on PreOrder{isPreOrder releaseDate}fragment ProductPriceFragment on ProductPrice{price priceString variantPriceString currencyUnit bestValue}fragment ZeekitFragment on ZeekitEntity{color abstractProductId isFashionPreferenceForCustomerExists zeekit{numberOfSimulatedImages isProductEnabledInZeekit simulatedImages{id url zoomable}personaDetails{id size height firstName bust waist hips inseam}i18n{labels{name value}}}}fragment GenericBadgeFragment on UnifiedBadge{groupsV2{name flow pos members{memType memId memStyleId fbMemStyleId content{type value styleId fbStyleId contDesc url actionId}}}}',
            'variables': {
                'isMobile': False,
                'channel': 'WWW',
                'version': 'v1',
                'pageType': 'ItemPageGlobal',
                'tenant': 'CA_GLASS',
                'tempo': {
                    'targeting': '%7B%22userState%22%3A%22loggedIn%22%7D',
                    'params': [
                        {
                            'key': 'expoVars',
                            'value': 'expoVariationValue',
                        },
                        {
                            'key': 'expoVars',
                            'value': 'expoVariationValue2',
                        },
                    ],
                },
                'p13nCls': {
                    'pageId': f'{itemid}',
                    'p13NCallType': 'ATF',
                    'userClientInfo': {
                        'isZipLocated': True,
                        'callType': 'CLIENT',
                    },
                    'userReqInfo': {
                        'refererContext': {
                            'source': 'itempage',
                            'query': '',
                            'sourceId': None,
                            'wmlspartner': None,
                        },
                        'isMoreOptionsTileEnabled': True,
                    },
                },
                'iId': f'{itemid}',
                'layout': [
                    'itemDesktop',
                ],
                'p13N': {
                    'userClientInfo': {
                        'isZipLocated': True,
                        'deviceType': 'desktop',
                        'callType': 'CLIENT',
                    },
                    'userReqInfo': {
                        'refererContext': {
                            'source': 'itempage',
                            'sourceId': None,
                            'wmlspartner': None,
                            'catId': '',
                            'facet': '',
                            'query': f'{itemid}',
                        },
                        'pageUrl': f'/ip/Lindt-LINDOR-Neapolitan-Truffles-Bag-150g/{itemid}?from=/search',
                    },
                },
                'cSId': '',
                'sSId': None,
                'fBBAd': True,
                'eLLBBAds': False,
                'fSL': True,
                'fIdml': True,
                'fMrkDscrp': False,
                'fRev': True,
                'fFit': True,
                'fSeo': True,
                'fP13': True,
                'fAff': True,
                'fMq': True,
                'fGalAd': False,
                'fSCar': True,
                'fDac': False,
                'spVid': False,
                'spSBA': False,
                'fBB': True,
                'eItIb': True,
                'fIlc': False,
                'bbe': False,
                'fSId': True,
                'eSb': True,
                'eCc': False,
                'eSsm': False,
                'enableRelatedSearch': False,
                'enableDetailedBeacon': False,
                'enableMultiSave': True,
                'sV': False,
                'sVC': False,
                'enableBnplMessage': True,
                'enableAOSModuleAttribute': False,
                'vFId': None,
                'pAdd': None,
                'sFId': None,
                'enableSizePredictor': True,
                'sizePredictorInput': {
                    'itemId': f'{itemid}',
                },
                'conditionGroupCode': None,
                'isSubscriptionFrequencyListEnabled': False,
                'enableWplusFulfillmentModalOnItemPage': False,
                'enableRxDrugScheduleModal': True,
                'isGEPEnable': False,
                'enableUpstreamErrorCode': False,
                'filterCriteria': None,
                'fRem': False,
                'enablePromoData': False,
                'eA2S': False,
                'attributesCacheKey': '',
                'enablePromotionMessages': False,
                'enableChannelLevelPricing': False,
            },
        }
        upc_value=''
        proxyip=get_proxyip()
        proxy = {
            'http': f'http://{proxyip}',  # 使用 HTTP 协议
            'https': f'http://{proxyip}'  # 对于 HTTPS 请求也使用 HTTP 代理
        }

        response = requests.post(
            f'https://www.walmart.ca/orchestra/graphql/ip/{itemid}',
            cookies=cookies,
            headers=headers,
            json=json_data,
            proxies=proxy
        )
        match = re.search(r'"Universal Product Code \(UPC check\)","value":"([^"]+)"', response.text)

        if match:
            upc_value = match.group(1)
            print(f"{itemid}->UPC 值: {upc_value}")
        else:
            print(f"{itemid}->未找到UPC value 字段")
        # 提取嵌套的 value 字段的值 
        return upc_value
    except Exception as e:
        print(f"{itemid}->出现异常",e)
        traceback.print_exc()
        return ''

